<?php

$site_info = cloud_site_info();
if ($site_info['createtime'] < strtotime('20220510')) {
	$settings = !empty($_W['setting']['copyright']) ? $_W['setting']['copyright'] : array();
	$settings['old_user_guide_status'] = STATUS_ON;
	setting_save($settings, 'copyright');
}
$settings = $_W['setting']['copyright'];
$settings['showhomepage'] = 1;
setting_save($settings, 'copyright');
setting_upgrade_version(IMS_FAMILY, '2.7.83', '202206270001');
return true;